package com.cyj.springbootservice.controller.profileloading;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @Author C_Y_J
 * @create 2021-03-23 14:50
 **/
@Data
@Component
@ConfigurationProperties(prefix = "person1")
public class Person {

    private String name;

    private String[] address;
}
